package com.jimmy.medical.service;

import com.jimmy.medical.base.JpaSpecificationService;
import com.jimmy.medical.entity.*;
import com.jimmy.medical.repository.HospitalRepository;

import java.util.List;


/**
 * 系统Service
 * @author jimmy
 */
public interface ISystemService extends JpaSpecificationService<HospitalRepository, HospitalRepository, Hospital, Long> {

    List<SysCode> getCityList();

    List<Hospital> getAllHospitalList(Long cityId);

    List<SysCode> getServiceTypeList();

    List<MemberType> getMemberTypeList(Long serviceTypeId);

    List<ServiceItem> getServiceItemList(String serviceFlow);

    List<HospitalDepartment> getDepartments(Long hospitalId);

    List<Doctor> getDoctors(Long departmentId);

    List<SysCode> getMeasureTypeList();

    List<Measures> getAllMeasureList();

    List<Measures> getAllPhysicalMeasureList();


    List<Measures> getMeasureList(String firstLetter);

    List<Medicines> getMedicineList(String firstLetter);

    List<DiseaseDic> getDiseaseList(String firstLetter);
}
